package com.lzh.seatrend.service.impl;

import com.lzh.seatrend.entity.ProductInfoEntity;
import com.lzh.seatrend.mapper.ProductMapper;
import com.lzh.seatrend.service.ProductService;
import org.apache.ibatis.session.RowBounds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductMapper productMapper;

    /**
     * @Description 获取所有商品信息
     * @Param
     * @return java.util.List<com.lzh.springsecurity.entity.ProductInfoEntity>
     * @date 2021/8/24 10:57
     * @auther liuzihao
     */
    @Override
    public List<ProductInfoEntity> queryAllProductInfoList() {
        return productMapper.queryAllProductInfoList();
    }

    @Override
    public int deleteByPrimaryKey(Object key) {
        return 0;
    }

    @Override
    public int delete(Object record) {
        return 0;
    }

    @Override
    public int insert(Object record) {
        return 0;
    }

    @Override
    public int insertSelective(Object record) {
        return 0;
    }

    @Override
    public boolean existsWithPrimaryKey(Object key) {
        return false;
    }

    @Override
    public List selectAll() {
        return productMapper.selectAll();
    }

    @Override
    public Object selectByPrimaryKey(Object key) {
        return null;
    }

    @Override
    public int selectCount(Object record) {
        return 0;
    }

    @Override
    public List select(Object record) {
        return null;
    }

    @Override
    public Object selectOne(Object record) {
        return null;
    }

    @Override
    public int updateByPrimaryKey(Object record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Object record) {
        return 0;
    }

    @Override
    public int deleteByExample(Object example) {
        return 0;
    }

    @Override
    public List selectByExample(Object example) {
        return null;
    }

    @Override
    public int selectCountByExample(Object example) {
        return 0;
    }

    @Override
    public Object selectOneByExample(Object example) {
        return null;
    }

    @Override
    public int updateByExample(Object record, Object example) {
        return 0;
    }

    @Override
    public int updateByExampleSelective(Object record, Object example) {
        return 0;
    }

    @Override
    public List selectByExampleAndRowBounds(Object example, RowBounds rowBounds) {
        return null;
    }

    @Override
    public List selectByRowBounds(Object record, RowBounds rowBounds) {
        return null;
    }
}
